<template>
  <div class="TabContrl">
  <tab-bar>
    <tab-bar-item path="/home" activeColor="pink">
      <img slot="item-icon" src="../assets/images/tabbarimg/home.png" alt="">
      <img slot="item-icon-active" src="../assets/images/tabbarimg/homeActive.png" alt="">
      <div slot="item-text">首页</div>
    </tab-bar-item>
    <tab-bar-item path="/category" activeColor="pink">
      <img slot="item-icon" src="../assets/images/tabbarimg/node.png" alt="">
      <img slot="item-icon-active" src="../assets/images/tabbarimg/nodeActive.png" alt="">
      <div slot="item-text">分类</div>
    </tab-bar-item>
    <tab-bar-item  path="/car" activeColor="pink">
      <img slot="item-icon" src="../assets/images/tabbarimg/car.png" alt="">
      <img slot="item-icon-active" src="../assets/images/tabbarimg/carActive.png" alt="">
      <div slot="item-text">购物车</div>
    </tab-bar-item>
    <tab-bar-item  path="/profile" activeColor="pink">
      <img slot="item-icon" src="../assets/images/tabbarimg/me.png" alt="">
      <img slot="item-icon-active" src="../assets/images/tabbarimg/meActive.png" alt="">
      <div slot="item-text">我的</div>
    </tab-bar-item>
  </tab-bar>
  </div>
</template>

<script>
  import TabBarItem from '../content/tabbar/TabBarItem.vue'
  import TabBar from '../content/tabbar/TabBar.vue'

    export default {
        name: "MainTabBar",
      components:{
        TabBarItem,
        TabBar
      }
    }
</script>

<style scoped>

</style>
